package com.oriental.manage.dao.payCount;

import com.oriental.manage.pojo.payCount.PayTransCount;
import com.oriental.manage.pojo.payCount.PayTransCountFailModel;

import java.util.List;
import java.util.Map;

/**
 * Desc:
 * Date: 2017/5/1
 * User: Chuch
 * See :
 */
public interface PayTransCountMapper {

    List<PayTransCount> queryTransCount(Map<String, String> map);

    List<PayTransCount> queryFailReason(PayTransCountFailModel requestModel);

    List<PayTransCount> queryFailDetail(PayTransCountFailModel requestModel);

    /**
     * 查询失败总数
     *
     * @param requestModel
     * @return
     */
    int queryFailTotal(PayTransCountFailModel requestModel);

    /**
     * 查询失败原因总数
     *
     * @param requestModel
     * @return
     */
    int queryFailReasonTotal(PayTransCountFailModel requestModel);

}
